package colin.project.sso.server.common.event.annotation;

import colin.project.sso.server.business.observer.enums.OperationEventEnums;
import colin.project.sso.server.common.event.enums.EventEnums;

import java.lang.annotation.*;

/**
 * @Author joker
 * @Title PublishEvent
 * @Description 发布事件
 * @Date 2019/5/19 10:09 PM
 * @Since
 * @Version 1.0.0
 */

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface OperationEvent {

    /**
     * 要发布的事件类型
     * @return
     */
    OperationEventEnums[] event();



}
